import QtQuick 2.0
import CMPlayerCore 1.0 as Core

Core.Engine {
	id: player
	property real dockZ: 0.0;
	Logo { anchors.fill: parent; visible: player.state == Core.Engine.Stopped }
	TextOsd { id: msgosd }
	ProgressOsd { id: timeline; value: player.time/player.duration }
	PlayInfoView { objectName: "playinfo"; player: player }
	PlaylistDock { objectName: "playlist"; z: dockZ }
	HistoryDock { objectName: "history"; z: dockZ }
	onMessageRequested: { msgosd.text = message; msgosd.show(); }
	onSought: {timeline.show();}
}
